#!/bin/bash
. ./setEnv.sh
SVC=rest
if [ $# -gt 0 ]; then SVC=$1; fi
sleep 5
ant "$SVC" > "${READINGS_NUMREADINGS}-${SVC}.log" &
sleep $((${READINGS_DURATION}/1000+5))
mleithner@carme:~/trunk/MeterReadings$ cat benchmark.sh 
#!/bin/bash
. ./setEnv.sh
SVC=rest
if [ $# -gt 0 ]; then SVC=$1; fi
sleep 5
ant "$SVC" > "${READINGS_NUMREADINGS}-${SVC}.log" &
sleep $((${READINGS_DURATION}/1000+5))
